package asia.kalin.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Kalin
 * @since 2025-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private String userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 手机号码
     */
    private String phoneNumber;

    /**
     * 用户性别:0-女 1-男
     */
    private Integer sex;

    /**
     * 出生日期
     */
    private LocalDate birth;

    /**
     * 部门id
     */
    private String departmentId;

    /**
     * 职位
     */
    private String position;

    /**
     * 用户的角色
     */
    private String role;

    /**
     * 用户账号状态
     */
    private String status;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;


}
